package com.niiwoo.civet.mobile.vo.request.loan;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * @Description: 极速借费用计算请求
 * @Author:Lujing
 * @Date:2017/10/19
 */
@Setter
@Getter
@ApiModel(value = "借款确认-还款详情(砍头息)")
public class LoanRepaymentPlanRequestDTO {

    @NotNull(message = "借款金额不能为空")
    @ApiModelProperty(value = "借款金额", required = true)
    private BigDecimal loanAmount;

    @NotNull(message = "借款期限不能为空")
    @ApiModelProperty(value="借款期限")
    private Integer loanTerm;

}
